package com.jun.service;

import com.jun.entity.Admin;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public interface AdminService {
    Admin getUserById(String id);    //通过用户的id来查询管理员
    Admin getUserByTellPhone(String tellphone);  //通过手机号码查询管理员
    int updateAdminPassWord(Map<String,Object> map); //根据id来更新管理员密码
}
